﻿using DependencyInjectionSampleOnConsole.ConsoleView.Data.Interfaces;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace DependencyInjectionSampleOnConsole.ConsoleView.Services
{
    public class TestService
        : ITestService
    {
        private readonly ITestRepository _testRepository;
        public TestService(ITestRepository testRepository)
        {
            _testRepository = testRepository;
        }
        public async Task TestAsync(string context)
        {
            await _testRepository.TestAsync(context);
        }
    }
}
